import java.util.*;

public class Mapping {
    public static void main(String[] args) {
        Map<Integer,String> hm= new HashMap<>();
        hm.put(66666,"小明");
        hm.put(56461,"小工");
        hm.put(201352,"小天");


        Set<Integer> sk = hm.keySet();
        for(Integer ss:sk) {
            String sg = hm.get(ss);
            System.out.println("id:"+ss+" "+"姓名"+sg);
        }

        Scanner sc=new Scanner(System.in);
        System.out.println("请您输入学号");
        int studentNumber=sc.nextInt();
        System.out.println("学生姓名:"+hm.get(studentNumber));

    }


//
}


